package com.design.pattern.behaviour.strategy;

/**
 * 5折扣策略
 * @Author hanyuanlai
 * @Date 2022/7/12
 */
public class CashDiscount extends CashSuper{
    @Override
    double acceptCash(double cash) {
        return cash * 0.5;
    }
}
